<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<%
	String path = request.getContextPath();
%>
<%@taglib prefix="shiro" uri="http://shiro.apache.org/tags" %>
<html>
<head>
    <meta charset="utf-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>报告大厅-总览</title>
    
    <link rel="shortcut icon" href="favicon.ico"> 
    <link href="<%=path%>/hplus/css/bootstrap.min14ed.css?v=3.3.6" rel="stylesheet">
    <link href="<%=path%>/hplus/css/font-awesome.min93e3.css?v=4.4.0" rel="stylesheet">
    <link href="<%=path%>/hplus/css/animate.min.css" rel="stylesheet">
    <link href="<%=path%>/hplus/css/style.min862f.css?v=4.1.0" rel="stylesheet">
    <link rel="stylesheet" type="text/css" href="<%=path%>/hplus/js/plugins/sweetalert/sweetalert2.min.css">
    
    <style>
        .panel-body{
            margin-bottom: 16px;
        }

        .s_form{
            text-align:center;
            padding-top:60px;
        }

        .s_box{
            width:18%;
            margin-right:2%;
            background: #fee087;
            padding: 20px;
            border-radius: 3px;
            float: left;
        }

        .s_box p{
            font-size: 16px;
        }

        .s_box span{
            font-size: 12px;
            color: #8f721c;
            display: block;
        }

        .s_blue{
            background: #68cbf8;
            color: #fff;
        }

        .s_blue span{
            color: #fff;
        }
    </style>
</head>
<body class="gray-bg">
    <div class="wrapper wrapper-content">
        <div class="tabs-container">
            <ul class="nav nav-tabs">
                <li class="active"><a data-toggle="tab" href="#tab-1" aria-expanded="true">总览</a>
                </li>
                <li class=""><a data-toggle="tab" href="#tab-2" aria-expanded="false">最热</a>
                </li>
            </ul>
            <div class="tab-content">
                <div id="tab-1" class="tab-pane active">
                    <div class="panel-body">
                        <strong class="text-navy col-sm-5">活动营销</strong>
                        <div class="btn-group col-sm-2">
                            <button class="btn btn-white" type="button">日</button>
                            <button class="btn btn-primary" type="button">周</button>
                            <button class="btn btn-white" type="button">月</button>
                        </div>
                        <div class="form-group col-sm-4" id="data_5">
                            <div class="input-daterange input-group" id="datepicker">
                                <input type="text" class="input-sm form-control" name="start" value="2014-11-11" />
                                <span class="input-group-addon">到</span>
                                <input type="text" class="input-sm form-control" name="end" value="2014-11-17" />
                            </div>
                        </div>
                        <div class="col-sm-1">
                            <button class="btn btn-primary pull-right" type="submit">筛选</button>
                        </div>
                    </div>
                    <div class="panel-body">
                        <strong class="text-navy col-sm-5">短信营销</strong>
                        <div class="btn-group col-sm-2">
                            <button class="btn btn-white" type="button">日</button>
                            <button class="btn btn-primary" type="button">周</button>
                            <button class="btn btn-white" type="button">月</button>
                        </div>
                        <div class="form-group col-sm-4" id="data_5">
                            <div class="input-daterange input-group" id="datepicker">
                                <input type="text" class="input-sm form-control" name="start" value="2014-11-11" />
                                <span class="input-group-addon">到</span>
                                <input type="text" class="input-sm form-control" name="end" value="2014-11-17" />
                            </div>
                        </div>               
                        <div class="col-sm-1">
                            <button class="btn btn-primary pull-right" type="submit">筛选</button>
                        </div>
                    </div>
                </div>
                <div id="tab-2" class="tab-pane">
                    <div class="panel-body">
                        <strong class="text-navy col-sm-7">活动营销</strong>
                        <div class="form-group col-sm-4" id="data_5">
                            <div class="input-daterange input-group" id="datepicker">
                                <input type="text" class="input-sm form-control" name="start" value="2014-11-11" />
                                <span class="input-group-addon">到</span>
                                <input type="text" class="input-sm form-control" name="end" value="2014-11-17" />
                            </div>
                        </div>               
                        <div class="col-sm-1">
                            <button class="btn btn-primary pull-right" type="submit">筛选</button>
                        </div>
                        <div class="form-group s_form">   
                            <p>您还没有创建活动，请快创建活动吧</p>
                            <button class="btn btn-primary" type="submit">创建活动</button>
                        </div>

                        <div class="s_box">
                            <p>充值500送100代金券</p>
                            <span>打开次数：1002</span>
                            <span>行为转化：382</span>
                        </div>
                        <div class="s_box">
                            <p>充值500送100代金券</p>
                            <span>打开次数：1002</span>
                            <span>行为转化：382</span>
                        </div>
                        <div class="s_box">
                            <p>充值500送100代金券</p>
                            <span>打开次数：1002</span>
                            <span>行为转化：382</span>
                        </div>
                        <div class="s_box">
                            <p>充值500送100代金券</p>
                            <span>打开次数：1002</span>
                            <span>行为转化：382</span>
                        </div>
                        <div class="s_box">
                            <p>充值500送100代金券</p>
                            <span>打开次数：1002</span>
                            <span>行为转化：382</span>
                        </div>
                    </div>
                    <div class="panel-body">
                        <strong class="text-navy col-sm-7">短信营销</strong>
                        <div class="form-group col-sm-4" id="data_5">
                            <div class="input-daterange input-group" id="datepicker">
                                <input type="text" class="input-sm form-control" name="start" value="2014-11-11" />
                                <span class="input-group-addon">到</span>
                                <input type="text" class="input-sm form-control" name="end" value="2014-11-17" />
                            </div>
                        </div>               
                        <div class="col-sm-1">
                            <button class="btn btn-primary pull-right" type="submit">筛选</button>
                        </div>
                        <div class="form-group s_form">   
                            <p>您还没有创建短信，请快创建短信吧</p>
                            <button class="btn btn-primary" type="submit">创建短信</button>
                        </div>
                        <div class="s_box s_blue">
                            <p>充值500送100代金券</p>
                            <span>打开次数：1002</span>
                            <span>行为转化：382</span>
                        </div>
                        <div class="s_box s_blue">
                            <p>充值500送100代金券</p>
                            <span>打开次数：1002</span>
                            <span>行为转化：382</span>
                        </div>
                        <div class="s_box s_blue">
                            <p>充值500送100代金券</p>
                            <span>打开次数：1002</span>
                            <span>行为转化：382</span>
                        </div>
                        <div class="s_box s_blue">
                            <p>充值500送100代金券</p>
                            <span>打开次数：1002</span>
                            <span>行为转化：382</span>
                        </div>
                        <div class="s_box s_blue">
                            <p>充值500送100代金券</p>
                            <span>打开次数：1002</span>
                            <span>行为转化：382</span>
                        </div>
                    </div>
                </div>
            </div>
        </div>
    </div>
    <script src="<%=path%>/hplus/js/jquery.min.js?v=2.1.4"></script>
    <script src="<%=path%>/hplus/js/bootstrap.min.js?v=3.3.6"></script>
    <script type="text/javascript" src="http://tajs.qq.com/stats?sId=9051096" charset="UTF-8"></script>
    <script src="<%=path%>/hplus/js/plugins/sweetalert/sweetalert2.min.js"></script>
	<script type="text/javascript" src="<%=path%>/bm/js/dialog.js"></script>
	<script type="text/javascript" src="<%=path%>/js/public.js"></script>
    <script type="text/javascript" src="<%=path%>/bm/js/jquery.cookie.js"></script>
    <script type="text/javascript">
    var access_token=$.cookie('access_token');
	var cid=$.cookie('cid');
	var uid=$.cookie('uid');
    var hotStartIndex=0;
    var hotPageSize=5;
    var startTime;
    var endTime;
    
    $(function(){
    	
    });
    
    
    
    function  getHotSmsList(){
    	var url="<%=path%>/scan/memberGroup/getCustomerGroup";
		$.post(url, {
			"access_token" : access_token,
			"cid" : cid,
			"uid" : uid,
			"startIndex" : hotStartIndex,
			"pageSize" : hotPageSize,
			"start_time" : startTime,
			"end_time":endTime,
		}, function(data) {
			
			console.log(data);	
			if (data.status == 200) {
				
			}else if(data.error_code=="20028"){
        		loginDialog();
        	}else{
        		errorDialog(data.message);
        	}
		});
    }
    
    function setHotSmsHtml(data){
    	var html='';
    	for(var i in data){
    		
    	}
    }
    
    
    </script>


</body>
</html>